package com.service;

import com.common.utils.Result;
import com.entity.Card;
import com.baomidou.mybatisplus.service.IService;
import com.query.CardQuery;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wty
 * @since 2022-01-04
 */
public interface CardService extends IService<Card> {

    /**
     * 添加卡片
     * @param card
     * @return
     */
    Result addCard(Card card);

    /**
     *
     * @return
     */
    Result uploadImg(MultipartFile file);



    /**
     * 根据条件获取卡片
     * @return
     */
    Result getCardList(CardQuery cardQuery);
}
